<?php
require_once 'Businesses.php';
require_once 'Clients.php';

class Admin_BusinessController extends HTech_Controller_Action
{
    public function init()
    {
        $cfg = array(
            'model' => 'Businesses', 
            'form' => 'Emms_Form_Admin_Business',
            'config' => array('add' => 'businesses', 'log' => '_log_businesses')
        );
        if($this->_request->getParam('loan'))
            $cfg['redirect'] = array('select','business','loan',array(array('loan' => $this->_request->getParam('loan'))));
        parent::init($cfg);         
    }
}
